package com.jimmy.medical.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 药品库
 * 
 * @author jimmy
 * @since 0.1
 */
@Entity
@Table(name = "medicines")
public class Medicines extends AbstractEntity {
	/** 药物名称*/
	@Column(name = "name", length = 100)
	private String name;
	/** 拼音首字母*/
	@Column(name = "first_letter", length = 100)
	private String firstLetter;
	/** 药瓶简介*/
	@Column(name = "description", length = 500)
	private String description;
	/** 条形码*/
	@Column(name = "bar_code", length = 100)
	private String barCode;
	/** 适用疾病,多个疾病逗号隔开*/
	@Column(name = "diseases", length = 100)
	private String diseases;
	/** 适用疾病中文,多个疾病逗号隔开*/
	@Column(name = "diseases_cn", length = 500)
	private String diseasesCn;
	/** 状态,1:启用;0:未启用*/
	@Column(name = "status", length = 100)
	private String status;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFirstLetter() {
		return firstLetter;
	}
	public void setFirstLetter(String firstLetter) {
		this.firstLetter = firstLetter;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getBarCode() {
		return barCode;
	}
	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}
	public String getDiseases() {
		return diseases;
	}
	public void setDiseases(String diseases) {
		this.diseases = diseases;
	}
	public String getDiseasesCn() {
		return diseasesCn;
	}
	public void setDiseasesCn(String diseasesCn) {
		this.diseasesCn = diseasesCn;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
